package org.upt.dcda;

import java.util.List;

import org.upt.dcda.db.AuthorEntity;
import org.upt.dcda.exceptions.BookstoreException;

public interface AuthorManager
{

	public static final String	AUTHOR_BEAN_NAME	= "java:global/BookstoreEAR/BookstoreLogic/AuthorManagerBean!org.upt.dcda.AuthorManagerBeanRemote";

	public void addAuthor(String authorInfo, String authorName)
			throws BookstoreException;

	public List<AuthorEntity> getAllAuthors() throws BookstoreException;

	public AuthorEntity getAuthorById(int authorId) throws BookstoreException;

}
